{% extends 'base.html' %}
{% load crispy_forms_tags %}
{% load static %}
{% block content %}
    <h1>Edit Profile</h1>
<link rel="stylesheet" href="{% static 'css/bootstrap.min.css' %}">
    {% load crispy_forms_tags %}
<div class="container text-left" > <div class="col-md-3 col-md-offset-3">



    <form method="POST" action="" enctype="multipart/form-data">
        {% csrf_token %}
        {{ form|crispy }}
        <input type="submit" value="create profile">
          {% if instance.image %}
<img src='{{ instance.image.url }}'>
{% endif %}
    </form></div>
</div>
{% endblock %}
